package com.xiaomazi.order.client;

import com.xiaomazi.servicebase.entity.CourseInfoToOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "service-edu")
public interface CourseClient {
    @GetMapping("/eduservice/courseFront/getCourseToOrderByCourseId/{courseId}")
    CourseInfoToOrder getCourseToOrderByCourseId(@PathVariable("courseId") String courseId);
}
